﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<List<CRM.Database.Model.CustomerName>>" %>
<%@ Import Namespace="CRM.AuthorizedActionLink.Html" %>
<%@ Import Namespace="CRM.Resourses" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: CRM.Resourses.Resourses.AllCustomersNames %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2> <%: CRM.Resourses.Resourses.AllCustomersNames %></h2>

<%: Html.ActionLinkAuthorized(Resourses.AddCustomer, "NewCustomer", "Customers")%>

<% Html.RenderPartial("CustomersNamesPartial",Model); %>

</asp:Content>
